package com.tyk.bookstore.front.product.model.dto;

import com.tyk.bookstore.front.product.model.entity.BookStatisticDo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookSortDto {

    @Schema(description = "页号")
    private Long pageNum;

    @Schema(description = "页大小")
    private Long pageSize;

    @Schema(description = "页总数")
    private Long total;

    @Schema(description = "书籍统计数据")
    private List<BookStatisticDo> statisticDoList;
}
